package com.ichoice.rabbit.server.service;

import java.util.List;

/**
 * @author xianrensawang
 * @since 2021/1/28
 */
public interface Login {

    String login(String userName, String password) throws InterruptedException;

    String getName(Integer age) throws InterruptedException;

    User user(User user) throws InterruptedException;

    List<User> userList(User user);

    Integer getAge(Long age) throws InterruptedException;

    List<User> userList1(List<User> userList);

    void fanoutLogin();

    void fanoutUser();
}
